package com.qzsoft.zhjd.exp.modules.laboratorydevice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.exp.modules.laboratorydevice.dto.LaboratoryDeviceDto;
import com.qzsoft.zhjd.exp.modules.laboratorydevice.entity.LaboratoryDeviceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @ClassName: LaboratoryDeviceMapper
 * @Description: 实验室设备数据库接口
 * @author linhuawei
 * @since 2021-05-17
 */
@Mapper
public interface LaboratoryDeviceMapper extends BaseMapper<LaboratoryDeviceEntity> {

    /**
     * @Title: pageVo
     * @Description: 获取试验设备分页列表数据
     * @param page   分页信息
     * @param params 查询条件
     * @return 试验设备分页列表数据
     */
    public IPage<LaboratoryDeviceDto> queryDto(IPage<LaboratoryDeviceDto> page,
            @Param("params") Map<String, Object> params);

}
